<?php
/**
 * 	NKApp
 *
 * @category   NKApp
 * @package    NKApp
 * @copyright  Copyright (c) 2009 Nathan Keyes
 * @author Nathan Keyes
 * @version    $Id: application.ini.php 7 2009-11-07 15:54:13Z nkeyes $
 */

// application/configs/application.ini.php

$production = array
(
	'autoloadernamespaces' => array
	(
		'Zend' => 'Zend_',
		'Bushido' => 'Bushido_',
	),
	
	'pluginpaths' => array
	(
		'Bushido_Application_Resource' => "Bushido/Application/Resource"
	),
	
	'phpsettings' => array
	(
		'display_startup_errors' => 1,
		'display_errors' => 1,
	
	),
	
	
	'includepaths' => array
	(
		APPLICATION_PATH . '/../library',
	
	),
	
	
	'bootstrap' => array
	(
		'path' => APPLICATION_PATH . '/Bootstrap.php',
		'class' => 'Bootstrap',
	
	),
	
	
	'resources' => array
	(
		'frontcontroller' => array
		(
			'baseurl' => '',
			'moduledirectory' => APPLICATION_PATH . '/modules',
			'defaultmodule' => 'default',
			'throwerrors' => true,
		
			'appconfig' => array
			(
				'appname' => 'SolApp',
				'requirelogin' => 0,
				'showerrordetails' => 1,
				'remembermeseconds' => 1800,
				'regeneratedelayseconds' => 15,
				'defaulterrormessage' => "We apologize for the inconvenience, please try your request again later.<br />This Error has been logged.",
				'dojotheme' => 'tundra',
			
			),
		),
		'dbmulticonnection' => array
		(
			'bushido_app' => array
			(
				'adapter' => 'mysqli',
				'isDefaultTableAdapter' => true,
				'params' => array
				(
					'host' => '',
					'username' => '',
					'password' => '',
					'dbname' => '',				
				)
			),
		),
		'view' => array(),
		'layout' => array(),
		'modules' => array(),
		
		
	
	),
);

$development = $production;
$development['phpsettings']['display_startup_errors'] = 1;
$development['phpsettings']['display_errors'] = 1;
$development['resources']['frontcontroller']['appconfig']['showerrordetails'] = 1;
$development['resources']['frontcontroller']['appconfig']['requirelogin'] = 1;



$local = $production;
$local['phpsettings']['display_startup_errors'] = 1;
$local['phpsettings']['display_errors'] = 1;
$local['resources']['frontcontroller']['appconfig']['showerrordetails'] = 1;
$local['resources']['frontcontroller']['appconfig']['requirelogin'] = 0;


$config = array
(
	'production' => $production,
	'development' => $development,
	'local' => $local,
);

return $config;